/*
 * @Author: your name
 * @Date: 2021-04-17 10:41:50
 * @LastEditTime: 2021-04-17 10:44:12
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \智慧医疗项目\app\src\utils\request.js
 */
import axios from 'axios'

const server = axios.create({
    timeout: 3000,
})

server.interceptors.request.use( config => {
    return config
}, err => {
    return Promise.reject(err)
})

server.interceptors.response.use( res => {
    return res
}, err => {
    return Promise.reject(err)
})


export default server